local thbattle__bayunlan_shensuan = fk.CreateSkill {

  name = "thbattle__bayunlan_shensuan",

  tags = {  },

}



thbattle__bayunlan_shensuan:addEffect(fk.EventPhaseStart, {
  anim_type = "control",
  prompt = function()
    return "#thbattle__bayunlan_shensuan:::" .. math.min(5, #Fk:currentRoom().alive_players)
  end,
  can_trigger = function(self, event, target, player, data)
    return target == player and player:hasSkill(thbattle__bayunlan_shensuan.name) and player.phase == Player.Start
  end,
  on_use = function(self, event, target, player, data)
    local room = player.room
    room:askForGuanxing(player, room:getNCards(math.min(5, #room.alive_players)))
  end
})

return thbattle__bayunlan_shensuan